package adapter;

public class Translator extends Player {
    private ForeignCenter wjzf = new ForeignCenter();

    public Translator (String name) {
        super(name);
        wjzf.setName(name);
    }

    @Override
    public void attack() {
        wjzf.foreignAttack();
    }

    @Override
    public void defense() {
        wjzf.foreignDefense();
    }
}
